home *** CD-ROM | disk | FTP | other *** search
- // Copyright (c)1995 Ray Dream, Inc. All Rights Reserved.
- /* $Id: TPotFac.h 1.1 1996/07/19 00:11:03 Damien Exp $ */
-
- #ifndef __TPOTFAC__
- #define __TPOTFAC__
-
- #ifndef __I3DEX__
- #include "I3dEx.h"
- #endif
-
- // Teapot Class Factory :
- class TeapotClassFactory : public IClassFactory {
- public:
- TeapotClassFactory(void);
- ~TeapotClassFactory(void);
-
- //IUnknown members
- STDMETHODIMP QueryInterface(REFIID, LPVOID FAR*);
- STDMETHODIMP_(ULONG) AddRef(void);
- STDMETHODIMP_(ULONG) Release(void);
-
- //IClassFactory members
- STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID*);
- STDMETHODIMP LockServer(BOOL);
- protected:
- ULONG m_cRef;
- };
-
- #endif
-
-